<div class="form-group required">
  <?php if (substr($route, 0, 9) == 'checkout/') { ?>
  <label class="control-label" for="input-payment-captcha"><?php echo $entry_captcha; ?></label>
  <input type="text" name="captcha" id="input-payment-captcha" class="form-control" autocomplete="off" />
  <img src="index.php?route=extension/captcha/basic_captcha/captcha" alt="" />
  <?php } else { ?>
  <label class="col-sm-2 control-label" for="input-captcha"><?php echo $entry_captcha; ?></label>
  <div class="col-sm-10">
    <div class="row">
      <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2">
        <input type="text" name="captcha" id="input-captcha" class="form-control"/>
      </div>
      <div class="col-xs-6 col-sm-4 col-md-3 col-lg-2">
        <img src="index.php?route=extension/captcha/basic_captcha/captcha" alt=""/>
      </div>
    </div>
    <?php if ($error_captcha) { ?>
    <div class="text-danger"><?php echo $error_captcha; ?></div>
    <?php } ?>
  </div>
  <?php } ?>
</div>
